home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1286.dms / var1286.adf / printers / IBMColorJet / CPD < prev    next >
Text File  |  1992-09-02  |  600b  |  25 lines

  1. .Key file,opt1,opt2,opt3
  2. ECHO "Amiga C  - Compile Printer Driver Script file"
  3. IF "<file>" EQ ""
  4.    ECHO "+++ NO FILE GIVEN. Compilation aborted. +++"
  5.    ECHO "USAGE: Execute CPD FileToCompile Opt1 Opt2 Opt3
  6.    SKIP END
  7. ENDIF
  8. IF NOT EXISTS <file>.c
  9.    ECHO "File <file>.c does not exist.  Try again."
  10.    SKIP END
  11. ENDIF
  12. ECHO "-- Compiling...<file>.c"
  13. COMPILE:LC1 <opt1> <opt2> <opt3> -iINCLUDE: -iINCLUDE:lattice/ <file>
  14. FailAt 21
  15. IF NOT EXISTS "<file>.q"
  16.    ECHO "Compile Failed."
  17.    List p <file>#?
  18.    QUIT 20
  19. ENDIF
  20. COMPILE:LC2 -v <file>
  21. ECHO "-- Done Compiling <file> --"
  22. LAB END
  23. CD
  24. List p <file>#?
  25.